/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class YesorPlanEnum extends StringEnum
{
    public static final String NOT_VALUE = "10";
    public static final String YES_VALUE = "20";
    public static final String YESNO_VALUE = "30";

    public static final YesorPlanEnum not = new YesorPlanEnum("not", NOT_VALUE);
    public static final YesorPlanEnum yes = new YesorPlanEnum("yes", YES_VALUE);
    public static final YesorPlanEnum yesno = new YesorPlanEnum("yesno", YESNO_VALUE);

    /**
     * construct function
     * @param String yesorPlanEnum
     */
    private YesorPlanEnum(String name, String yesorPlanEnum)
    {
        super(name, yesorPlanEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static YesorPlanEnum getEnum(String yesorPlanEnum)
    {
        return (YesorPlanEnum)getEnum(YesorPlanEnum.class, yesorPlanEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(YesorPlanEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(YesorPlanEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(YesorPlanEnum.class);
    }
}